package com.lee9213.core.annotation;

import java.lang.annotation.*;

/**
 * 数据源，master、slave（默认master）
 * 
 * @author libo
 * @version 1.0
 * @date 2017/11/9 16:05
 */
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface DataSource {
    boolean slave() default false;
}
